package com.mucd.chat.controller;

import com.mucd.chat.service.FriendListService;
import com.mucd.chat.service.FriendService;
import com.ruoyi.common.core.domain.FriendList;
import com.ruoyi.common.core.domain.R;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author mucd
 */
@RequestMapping("friendList")
@RestController
public class FriendListController {

    @Resource
    private FriendListService friendListService;


    @PostMapping(value = "selectFriendList")
    public R<?> selectFriendList() {
        return R.ok(friendListService.selectFriendList());
    }


}
